package com.lyl.serviceedu;

public class A {
    private String name="A";

    private  class B{// 内部类
        private String name="张三";

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }

    public String getName() {
        B b= new B();
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}


class C{

}

class D extends  A{

}